$OpenBSD: patch-spectro_hidio_c,v 1.3 2014/01/03 10:22:12 ajacoutot Exp $
--- spectro/hidio.c.orig	Mon Nov 18 23:13:36 2013
+++ spectro/hidio.c	Fri Jan  3 11:13:17 2014
@@ -85,7 +85,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
 #include <sys/types.h> 
 #include <usbhid.h> 
 #else	/* assume Linux */ 
